package com.xxx.car.mapper;

import com.xxx.car.entity.TbFeedback;
import com.xxx.car.entity.vo.request.ReqFeedBackQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbFeedbackMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TbFeedback record);

    int insertSelective(TbFeedback record);

    TbFeedback selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbFeedback record);

    int updateByPrimaryKey(TbFeedback record);

    TbFeedback selectByIdAndUserId(@Param("id") Integer id, @Param("userId") Integer userId);

    List<TbFeedback> query(ReqFeedBackQuery query);
}